/// api
class APIS {
  APIS._();

/**********************************用户相关**********************************/

  /// 获取验证码
  static const String smsCode = '/earthGngel/api/sms/send';

  /// 用户登录
  static const String login = '/earthGngel/api/user/codeLogin';

  /// 我的基础信息
  static const String myBasicInfo = '/earthGngel/api/user/userCenter';

  /// 更新我的基础信息
  static const String updateInfo = '/earthGngel/api/user/update';

  /// 删除账户
  static const String delAccount = '/earthGngel/api/user/delete';

  /// 好友列表
  static const String friends = '/earthGngel/api/friend/list';

  /// 黑名单列表
  static const String blackList = '/earthGngel/api/user/blockList';

  /// 搜索好友
  static const String searchUser = '/earthGngel/api/user/search';

  /// 添加好友
  static const String addFriend = '/earthGngel/api/friend/add';

  /// 删除好友
  static const String delFriend = '/earthGngel/api/friend/delete';

  /// 拉黑用户
  static const String blackUser = '/earthGngel/api/user/block';

  /// 取消拉黑用户
  static const String unBlackUser = '/earthGngel/api/user/unblock';

  /// 发起聊天
  static const String createChat = '/earthGngel/api/conversation/create';

  /// 发送私信
  static const String sendMessage = '/earthGngel/api/conversation/send';

  /// 聊天列表
  static const String chatList = '/earthGngel/api/conversation/list';

  /// 进入聊天室
  static const String enterChat = '/earthGngel/api/conversation/show';

  /// 意见反馈
  static const String feedback = '/earthGngel/api/user/feedback';

  /// 退出登录
  static const String logout = '/earthGngel/api/user/logout';

  /// 七牛凭据
  static const String qiniuToken = '/earthGngel/api/upload/uploadToken';

/**********************************物品相关**********************************/

  /// 发布物品
  static const String pubGoods = '/earthGngel/api/goods/upload';

  /// 编辑/保存物品
  static const String editGoods = '/earthGngel/api/goods/update';

  /// 点赞物品
  static const String likeGoods = '/earthGngel/api/goods/like';

  /// 评论物品
  static const String commentGoods = '/earthGngel/api/goods/comment';

  /// 收藏物品
  static const String collectGoods = '/earthGngel/api/goods/favorite';

  /// 删除物品
  static const String delGoods = '/earthGngel/api/goods/delete';

  /// 分享物品
  static const String shareGoods = '/earthGngel/api/goods/share';

  /// 赠送物品
  static const String giveGoods = '/earthGngel/api/goods/send';

  /// 首页物品
  static const String goods = '/earthGngel/api/goods/list';

/**********************************其他接口**********************************/

  /// 首页轮播图
  static const String banner = '/earthGngel/api/banner/list';

  /// IP位置
  static const String ipAddr = '/earthGngel/api/user/getIpInfo';

  /// 举报内容
  static const String reportContent = '/earthGngel/api/report/report';
}
